<!DOCTYPE html>
<html>
  <head>
    <title>组织机构信息-编辑</title>
    <#include "fsoft-common.ftl" />
  </head>
  <body>
    <div class="layui-fluid">
      <div class="layui-card">
        <div class="layui-card-body">
          <form class="layui-form layui-form-pane" action="" method="post">
            <input class="layui-input" type="hidden" name="id" id="id" value="${model.id}"/>
            <input class="layui-input" type="hidden" id="parentId" value="${model.parentId}">
            <input class="layui-input" type="hidden" id="areaId" value="${model.areaId}">
					  <div class="layui-row layui-col-space5">
              <div class="layui-col-sm6 layui-col-xs12">
                <div class="layui-form-item">
                  <label for="name" class="layui-form-label">
                    <span class="x-red">*</span>单位名称
                  </label>
                  <div class="layui-input-block">
                    <input class="layui-input" type="text" id="name" name="name" value="${model.name}" lay-verify="required" autocomplete="off">
                  </div>
                </div>
              </div>
              <div class="layui-col-sm6 layui-col-xs12">
                <div class="layui-form-item">
                  <label for="name" class="layui-form-label">上级单位</label>
                  <div class="layui-input-block">
                    <div id="xm-select-orgTrees" class="xm-select-demo"></div>
                  </div>
                </div>
              </div>
					  </div>
            <div class="layui-row layui-col-space5">
              <div class="layui-col-sm6 layui-col-xs12">
                <div class="layui-form-item">
                  <label for="name" class="layui-form-label">开户银行</label>
                  <div class="layui-input-block">
                    <input class="layui-input" type="text" id="bank" name="bank" value="${model.bank}" autocomplete="off">
                  </div>
                </div>
              </div>
              <div class="layui-col-sm6 layui-col-xs12">
                <div class="layui-form-item">
                  <label for="name" class="layui-form-label">开户帐号</label>
                  <div class="layui-input-block">
                    <input class="layui-input" type="text" id="bankAcct" name="bankAcct" value="${model.bankAcct}" autocomplete="off">
                  </div>
                </div>
              </div>
              <div class="layui-col-sm6 layui-col-xs12">
                <div class="layui-form-item">
                  <label for="name" class="layui-form-label">联 系 人</label>
                  <div class="layui-input-block">
                    <input class="layui-input" type="text" id="contactUser" name="contactUser" value="${model.contactUser}" autocomplete="off">
                  </div>
                </div>
              </div>
              <div class="layui-col-sm6 layui-col-xs12">
                <div class="layui-form-item">
                  <label for="name" class="layui-form-label">联系电话</label>
                  <div class="layui-input-block">
                    <input class="layui-input" type="text" id="contactPhone" name="contactPhone" value="${model.contactPhone}" autocomplete="off">
                  </div>
                </div>
              </div>
              <div class="layui-col-sm12">
                <div class="layui-form-item">
                  <label class="layui-form-label">地      址</label>
                  <div class="layui-input-block">
                    <input class="layui-input" type="text" id="address" name="address" value="${model.address}" autocomplete="off">
                  </div>
                </div>
              </div>
              <div class="layui-col-sm6 layui-col-xs12">
                <div class="layui-form-item">
                  <label for="name" class="layui-form-label">
                    <span class="x-red">*</span>所属地区
                  </label>
                  <div class="layui-input-block">
                    <div id="fAreaTree" class="xm-select-demo"></div>
                  </div>
                </div>
              </div>
              <div class="layui-col-sm6 layui-col-xs12">
                <div class="layui-form-item">
                  <label for="name" class="layui-form-label">
                    <span class="x-red">*</span>排      序
                  </label>
                  <div class="layui-input-block">
                    <input class="layui-input" type="text" id="sortNo" name="sortNo" value="${model.sortNo}" lay-verify="required|number">
                  </div>
                </div>
              </div>
            </div>
            <div class="layui-row layui-col-space5">
              <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">备注</label>
                <div class="layui-input-block">
                  <textarea class="layui-textarea" type="text" id="remark" name="remark" autocomplete="off">${model.remark}</textarea>
                </div>
              </div>
            </div>
            <div class="layui-row layui-col-space5">
              <div class="layui-col-xs2 layui-col-xs-offset10">
                <button class="layui-btn layui-btn-normal layui-btn-sm" lay-submit lay-filter="save">
                  <i class="fa fa-save" aria-hidden="true"></i> 保存
                </button>
              </div>
            </div>
          </form>
        </div>
	    </div>
    </div>
  </body>
  <#include "fsoft-common-foot.ftl" />
	<script type="text/javascript" src="${request.contextPath}/static/fsoft-web/org/sysorg-modify.js?v=202002"></script>
</html>
